package com.java.springcloud.alibaba;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author jingjintao
 * @date 2021/8/19 - 23:47
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) //取消数据源自动创建的配置
@EnableFeignClients
@EnableDiscoveryClient
public class OrderMain2001 {

    public static void main(String[] args) {
        SpringApplication.run(OrderMain2001.class, args);
    }
}
